#define _CRT_SECURE_NO_WARNINGS
#include"list.h"

void test_list1(lbj::list<int>& L)
{
	lbj::list<int>::iterator it = L.begin();
	while (it != L.end())
	{
		cout << *it << " ";
		it++;
	}
	cout << endl;
}

int main()
{
	lbj::list<int> L;
	L.push_back(1);
	L.push_back(2);
	L.push_back(3);
	L.push_back(4);
	L.push_back(5);
	L.push_back(6);
	L.push_back(7);

	test_list1(L);

	return 0;
}